// 模拟支持工单API

export const submitSupportTicket = async (ticketData) => {
  // 模拟API调用
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve({
        success: true,
        data: {
          id: Date.now(),
          ...ticketData,
          status: 'pending',
          createdAt: new Date().toISOString()
        }
      });
    }, 500);
  });
};